package com.atguigu.gmall.product.service;

import com.atguigu.gmall.model.product.*;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface ManagerService {
    List<BaseCategory1> getCategory1List();

    List<BaseCategory2> getCategory2List(Long category1Id);

    List<BaseCategory3> getCategory3List(Long category2Id);

    List<BaseAttrInfo> getAttrInfoList(Long category1Id, Long category2Id, Long category3Id);

    void saveAttrInfo(BaseAttrInfo baseAttrInfo);

    List<BaseAttrValue> getAttrValueListByAttrId(Long attrId);

    void updateAttrInfo(BaseAttrInfo baseAttrInfo);

    Page<BaseTrademark> baseTrademarkPage(Integer page, Integer limit);

    BaseTrademark baseTrademarkById(Long id);

    void saveBaseTrademark(BaseTrademark baseTrademark);

    void updateBaseTrademark(BaseTrademark baseTrademark);

    void removeBaseTrademark(Long id);
}
